<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: fatfs.hal/diskio.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_2441aed259fe884ac729d0a0c31d0193.html">fatfs.hal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">diskio.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="integer_8h_source.html">integer.h</a>&quot;</code><br />
</div>
<p><a href="diskio_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSDIO__CTRL.html">SDIO_CTRL</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a1dd0d2b46dce637878416d489d2ddde2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a1dd0d2b46dce637878416d489d2ddde2">_USE_WRITE</a>&#160;&#160;&#160;1	/* 1: Enable <a class="el" href="diskio_8h.html#a0fe56ee4831a44b09cfd96856e069634">disk_write</a> function */</td></tr>
<tr class="separator:a1dd0d2b46dce637878416d489d2ddde2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe6d1224687dede333375a2475c78ff6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#afe6d1224687dede333375a2475c78ff6">_USE_IOCTL</a>&#160;&#160;&#160;1	/* 1: Enable <a class="el" href="diskio_8h.html#ab00fa450a811dbdabe3c655c1a36fab4">disk_ioctl</a> fucntion */</td></tr>
<tr class="separator:afe6d1224687dede333375a2475c78ff6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9be3169a4edb65cd6c59bd26c927846"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#ab9be3169a4edb65cd6c59bd26c927846">_USE_ISDIO</a>&#160;&#160;&#160;1	/* 1: Enable iSDIO controls via <a class="el" href="diskio_8h.html#ab00fa450a811dbdabe3c655c1a36fab4">disk_ioctl</a> */</td></tr>
<tr class="separator:ab9be3169a4edb65cd6c59bd26c927846"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd6503c70d862b979a3f7080a59e9acd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#abd6503c70d862b979a3f7080a59e9acd">STA_NOINIT</a>&#160;&#160;&#160;0x01	/* Drive not initialized */</td></tr>
<tr class="separator:abd6503c70d862b979a3f7080a59e9acd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec625080763d6cf487e550a6c9a2dd19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#aec625080763d6cf487e550a6c9a2dd19">STA_NODISK</a>&#160;&#160;&#160;0x02	/* No medium in the drive */</td></tr>
<tr class="separator:aec625080763d6cf487e550a6c9a2dd19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ec6dc5f6620a33fabe388d3a111ca8c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a9ec6dc5f6620a33fabe388d3a111ca8c">STA_PROTECT</a>&#160;&#160;&#160;0x04	/* Write protected */</td></tr>
<tr class="separator:a9ec6dc5f6620a33fabe388d3a111ca8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b3c492f9aec325f0655941b75256f3c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a1b3c492f9aec325f0655941b75256f3c">CTRL_SYNC</a>&#160;&#160;&#160;0	/* Complete pending <a class="el" href="posix_8h.html#a072435300ac99e8d7c3749f45166e797">write</a> process (needed at <a class="el" href="ffconf_8h.html#afb8d35370cfe0c23832ac2d82e854ec6">_FS_READONLY</a> == 0) */</td></tr>
<tr class="separator:a1b3c492f9aec325f0655941b75256f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a570216006f6a8fc4e1698b1bbb2d1dde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a570216006f6a8fc4e1698b1bbb2d1dde">GET_SECTOR_COUNT</a>&#160;&#160;&#160;1	/* Get media size (needed at <a class="el" href="ffconf_8h.html#a62cdce547af40f0c1599698ee151bbd7">_USE_MKFS</a> == 1) */</td></tr>
<tr class="separator:a570216006f6a8fc4e1698b1bbb2d1dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac73b5cf2135cbd459d109b96c9aa346a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#ac73b5cf2135cbd459d109b96c9aa346a">GET_SECTOR_SIZE</a>&#160;&#160;&#160;2	/* Get sector size (needed at <a class="el" href="ffconf_8h.html#ac271b697378912f17132cb9c7d0de024">_MAX_SS</a> != <a class="el" href="ffconf_8h.html#ad03aa6d0e294709ae15898ee2c14dc3a">_MIN_SS</a>) */</td></tr>
<tr class="separator:ac73b5cf2135cbd459d109b96c9aa346a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec3bb4dfe075d0ba2f3b07b300a95500"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#aec3bb4dfe075d0ba2f3b07b300a95500">GET_BLOCK_SIZE</a>&#160;&#160;&#160;3	/* Get erase block size (needed at <a class="el" href="ffconf_8h.html#a62cdce547af40f0c1599698ee151bbd7">_USE_MKFS</a> == 1) */</td></tr>
<tr class="separator:aec3bb4dfe075d0ba2f3b07b300a95500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af09fd84bea8d4e889e272471f44d60d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#af09fd84bea8d4e889e272471f44d60d6">CTRL_TRIM</a>&#160;&#160;&#160;4	/* Inform device that the data on the block of sectors is no longer used (needed at <a class="el" href="ffconf_8h.html#a1f93ee7e57bb9d1221f34bfe80e18a61">_USE_TRIM</a> == 1) */</td></tr>
<tr class="separator:af09fd84bea8d4e889e272471f44d60d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add07021167069f5914211a2f8830fabb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#add07021167069f5914211a2f8830fabb">CTRL_FORMAT</a>&#160;&#160;&#160;5	/* Create physical format on the media */</td></tr>
<tr class="separator:add07021167069f5914211a2f8830fabb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69bec9079062f809c3586977b2dc5d79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a69bec9079062f809c3586977b2dc5d79">CTRL_POWER_IDLE</a>&#160;&#160;&#160;6	/* Put the device idle state */</td></tr>
<tr class="separator:a69bec9079062f809c3586977b2dc5d79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1f5a55ea2a24d274c16e51c111c97d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#aa1f5a55ea2a24d274c16e51c111c97d8">CTRL_POWER_OFF</a>&#160;&#160;&#160;7	/* Put the device off state */</td></tr>
<tr class="separator:aa1f5a55ea2a24d274c16e51c111c97d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af40e5cf3000553a978ff6e30dae70858"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#af40e5cf3000553a978ff6e30dae70858">CTRL_LOCK</a>&#160;&#160;&#160;8	/* Lock media removal */</td></tr>
<tr class="separator:af40e5cf3000553a978ff6e30dae70858"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d06770de580667138ca6101ae5138ac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a5d06770de580667138ca6101ae5138ac">CTRL_UNLOCK</a>&#160;&#160;&#160;9	/* Unlock media removal */</td></tr>
<tr class="separator:a5d06770de580667138ca6101ae5138ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e40e16d2d7ce196858950f070b9ec03"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a5e40e16d2d7ce196858950f070b9ec03">CTRL_EJECT</a>&#160;&#160;&#160;10	/* Eject media */</td></tr>
<tr class="separator:a5e40e16d2d7ce196858950f070b9ec03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba3a81a9a47c7d1bf3ac7749bc72dcfd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#aba3a81a9a47c7d1bf3ac7749bc72dcfd">MMC_GET_TYPE</a>&#160;&#160;&#160;50	/* Get card type */</td></tr>
<tr class="separator:aba3a81a9a47c7d1bf3ac7749bc72dcfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3b858b81287929f7c7bea3b7aec3087"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#ae3b858b81287929f7c7bea3b7aec3087">MMC_GET_CSD</a>&#160;&#160;&#160;51	/* Get CSD */</td></tr>
<tr class="separator:ae3b858b81287929f7c7bea3b7aec3087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ad303dd18b19a4c90ab30a8a1c14c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a17ad303dd18b19a4c90ab30a8a1c14c4">MMC_GET_CID</a>&#160;&#160;&#160;52	/* Get CID */</td></tr>
<tr class="separator:a17ad303dd18b19a4c90ab30a8a1c14c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff118ba6bd7a9fe7699cee049cff5d6c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#aff118ba6bd7a9fe7699cee049cff5d6c">MMC_GET_OCR</a>&#160;&#160;&#160;53	/* Get OCR */</td></tr>
<tr class="separator:aff118ba6bd7a9fe7699cee049cff5d6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cc43c8449b872e16ea5ab42592f793e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a5cc43c8449b872e16ea5ab42592f793e">MMC_GET_SDSTAT</a>&#160;&#160;&#160;54	/* Get SD status */</td></tr>
<tr class="separator:a5cc43c8449b872e16ea5ab42592f793e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eb2d8ccc0b89299bc442396811f8723"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a9eb2d8ccc0b89299bc442396811f8723">ISDIO_READ</a>&#160;&#160;&#160;55	/* Read data form SD iSDIO register */</td></tr>
<tr class="separator:a9eb2d8ccc0b89299bc442396811f8723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9637dcd58e0f1f301edf0cccff9e3507"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a9637dcd58e0f1f301edf0cccff9e3507">ISDIO_WRITE</a>&#160;&#160;&#160;56	/* Write data to SD iSDIO register */</td></tr>
<tr class="separator:a9637dcd58e0f1f301edf0cccff9e3507"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa79f4043470c49016d80558773e740a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#aa79f4043470c49016d80558773e740a5">ISDIO_MRITE</a>&#160;&#160;&#160;57	/* Masked <a class="el" href="posix_8h.html#a072435300ac99e8d7c3749f45166e797">write</a> data to SD iSDIO register */</td></tr>
<tr class="separator:aa79f4043470c49016d80558773e740a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23f5fff3341e98825ea1f7367fd09f1a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a23f5fff3341e98825ea1f7367fd09f1a">ATA_GET_REV</a>&#160;&#160;&#160;60	/* Get F/W revision */</td></tr>
<tr class="separator:a23f5fff3341e98825ea1f7367fd09f1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31f556ab98ab80c39058b38d9283865d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a31f556ab98ab80c39058b38d9283865d">ATA_GET_MODEL</a>&#160;&#160;&#160;61	/* Get model name */</td></tr>
<tr class="separator:a31f556ab98ab80c39058b38d9283865d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a469c4f989757ee1ee404134fea3c74ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a469c4f989757ee1ee404134fea3c74ba">ATA_GET_SN</a>&#160;&#160;&#160;62	/* Get serial number */</td></tr>
<tr class="separator:a469c4f989757ee1ee404134fea3c74ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac52ec66c278308382fdf7b2c57f0ad8c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#ac52ec66c278308382fdf7b2c57f0ad8c">CT_MMC</a>&#160;&#160;&#160;0x01		/* MMC ver 3 */</td></tr>
<tr class="separator:ac52ec66c278308382fdf7b2c57f0ad8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1c9fc863ec15d3320b3850dc571626e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#ad1c9fc863ec15d3320b3850dc571626e">CT_SD1</a>&#160;&#160;&#160;0x02		/* SD ver 1 */</td></tr>
<tr class="separator:ad1c9fc863ec15d3320b3850dc571626e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0db1b71113e73184a5ba511e7020a922"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a0db1b71113e73184a5ba511e7020a922">CT_SD2</a>&#160;&#160;&#160;0x04		/* SD ver 2 */</td></tr>
<tr class="separator:a0db1b71113e73184a5ba511e7020a922"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae76d94ac83c68d1f025cb0bcad77fa5d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#ae76d94ac83c68d1f025cb0bcad77fa5d">CT_SDC</a>&#160;&#160;&#160;(<a class="el" href="diskio_8h.html#ad1c9fc863ec15d3320b3850dc571626e">CT_SD1</a>|<a class="el" href="diskio_8h.html#a0db1b71113e73184a5ba511e7020a922">CT_SD2</a>)	/* SD */</td></tr>
<tr class="separator:ae76d94ac83c68d1f025cb0bcad77fa5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d48ce54c27f4f60666309e8627fab47"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a7d48ce54c27f4f60666309e8627fab47">CT_BLOCK</a>&#160;&#160;&#160;0x08		/* Block addressing */</td></tr>
<tr class="separator:a7d48ce54c27f4f60666309e8627fab47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:adba6790898ce4029c20a34b898ce73c1"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a></td></tr>
<tr class="separator:adba6790898ce4029c20a34b898ce73c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:aacdfef1dad6565f65c26d12fe0ea4b2b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a> { <br />
&#160;&#160;<a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2ba2ea4b6ef3fffc17dd1d38ab5c2837737">RES_OK</a> = 0, 
<a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2ba78011f5557679ec178fb40bd21e89840">RES_ERROR</a>, 
<a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2ba442a6d4393dc404827067bc4e981b322">RES_WRPRT</a>, 
<a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2baad64c27c69eb1ff39ae67c5f77bb2b1d">RES_NOTRDY</a>, 
<br />
&#160;&#160;<a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2baf4dcc07fd46310b5495fa8025c89a9f3">RES_PARERR</a>
<br />
 }</td></tr>
<tr class="separator:aacdfef1dad6565f65c26d12fe0ea4b2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a09cdaa6f36fa409bdf002727bff98eb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a09cdaa6f36fa409bdf002727bff98eb1">disk_initialize</a> (<a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pdrv)</td></tr>
<tr class="separator:a09cdaa6f36fa409bdf002727bff98eb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8348ac5ee6d709420c02e45c111f4793"><td class="memItemLeft" align="right" valign="top"><a class="el" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a8348ac5ee6d709420c02e45c111f4793">disk_status</a> (<a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pdrv)</td></tr>
<tr class="separator:a8348ac5ee6d709420c02e45c111f4793"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075d27f59f550e2cee07d00abcff32e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a075d27f59f550e2cee07d00abcff32e0">disk_read</a> (<a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pdrv, <a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> *buff, <a class="el" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> sector, <a class="el" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> count)</td></tr>
<tr class="separator:a075d27f59f550e2cee07d00abcff32e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fe56ee4831a44b09cfd96856e069634"><td class="memItemLeft" align="right" valign="top"><a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a0fe56ee4831a44b09cfd96856e069634">disk_write</a> (<a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pdrv, const <a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> *buff, <a class="el" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> sector, <a class="el" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> count)</td></tr>
<tr class="separator:a0fe56ee4831a44b09cfd96856e069634"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab00fa450a811dbdabe3c655c1a36fab4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#ab00fa450a811dbdabe3c655c1a36fab4">disk_ioctl</a> (<a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pdrv, <a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> cmd, void *buff)</td></tr>
<tr class="separator:ab00fa450a811dbdabe3c655c1a36fab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a045f8898a243c16aca4e64e069c49c03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="diskio_8h.html#a045f8898a243c16aca4e64e069c49c03">disk_timerproc</a> (void)</td></tr>
<tr class="separator:a045f8898a243c16aca4e64e069c49c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="afe6d1224687dede333375a2475c78ff6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define _USE_IOCTL&#160;&#160;&#160;1	/* 1: Enable <a class="el" href="diskio_8h.html#ab00fa450a811dbdabe3c655c1a36fab4">disk_ioctl</a> fucntion */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00013">13</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab9be3169a4edb65cd6c59bd26c927846"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define _USE_ISDIO&#160;&#160;&#160;1	/* 1: Enable iSDIO controls via <a class="el" href="diskio_8h.html#ab00fa450a811dbdabe3c655c1a36fab4">disk_ioctl</a> */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00014">14</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1dd0d2b46dce637878416d489d2ddde2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define _USE_WRITE&#160;&#160;&#160;1	/* 1: Enable <a class="el" href="diskio_8h.html#a0fe56ee4831a44b09cfd96856e069634">disk_write</a> function */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00012">12</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="a31f556ab98ab80c39058b38d9283865d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATA_GET_MODEL&#160;&#160;&#160;61	/* Get model name */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00087">87</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="a23f5fff3341e98825ea1f7367fd09f1a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATA_GET_REV&#160;&#160;&#160;60	/* Get F/W revision */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00086">86</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="a469c4f989757ee1ee404134fea3c74ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATA_GET_SN&#160;&#160;&#160;62	/* Get serial number */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00088">88</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7d48ce54c27f4f60666309e8627fab47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CT_BLOCK&#160;&#160;&#160;0x08		/* Block addressing */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00096">96</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00340">mmc_disk_initialize()</a>, and <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="ac52ec66c278308382fdf7b2c57f0ad8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CT_MMC&#160;&#160;&#160;0x01		/* MMC ver 3 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00092">92</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00340">mmc_disk_initialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ad1c9fc863ec15d3320b3850dc571626e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CT_SD1&#160;&#160;&#160;0x02		/* SD ver 1 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00093">93</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00340">mmc_disk_initialize()</a>, and <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="a0db1b71113e73184a5ba511e7020a922"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CT_SD2&#160;&#160;&#160;0x04		/* SD ver 2 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00094">94</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00340">mmc_disk_initialize()</a>, and <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="ae76d94ac83c68d1f025cb0bcad77fa5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CT_SDC&#160;&#160;&#160;(<a class="el" href="diskio_8h.html#ad1c9fc863ec15d3320b3850dc571626e">CT_SD1</a>|<a class="el" href="diskio_8h.html#a0db1b71113e73184a5ba511e7020a922">CT_SD2</a>)	/* SD */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00095">95</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="a5e40e16d2d7ce196858950f070b9ec03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_EJECT&#160;&#160;&#160;10	/* Eject media */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00073">73</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="add07021167069f5914211a2f8830fabb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_FORMAT&#160;&#160;&#160;5	/* Create physical format on the media */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00068">68</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="af40e5cf3000553a978ff6e30dae70858"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_LOCK&#160;&#160;&#160;8	/* Lock media removal */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00071">71</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="a69bec9079062f809c3586977b2dc5d79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_POWER_IDLE&#160;&#160;&#160;6	/* Put the device idle state */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00069">69</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa1f5a55ea2a24d274c16e51c111c97d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_POWER_OFF&#160;&#160;&#160;7	/* Put the device off state */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00070">70</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="a1b3c492f9aec325f0655941b75256f3c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_SYNC&#160;&#160;&#160;0	/* Complete pending <a class="el" href="posix_8h.html#a072435300ac99e8d7c3749f45166e797">write</a> process (needed at <a class="el" href="ffconf_8h.html#afb8d35370cfe0c23832ac2d82e854ec6">_FS_READONLY</a> == 0) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00061">61</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>, and <a class="el" href="ff_8c_source.html#l00946">sync_fs()</a>.</p>

</div>
</div>
<a class="anchor" id="af09fd84bea8d4e889e272471f44d60d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_TRIM&#160;&#160;&#160;4	/* Inform device that the data on the block of sectors is no longer used (needed at <a class="el" href="ffconf_8h.html#a1f93ee7e57bb9d1221f34bfe80e18a61">_USE_TRIM</a> == 1) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00065">65</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>, and <a class="el" href="ff_8c_source.html#l01256">remove_chain()</a>.</p>

</div>
</div>
<a class="anchor" id="a5d06770de580667138ca6101ae5138ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_UNLOCK&#160;&#160;&#160;9	/* Unlock media removal */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00072">72</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<a class="anchor" id="aec3bb4dfe075d0ba2f3b07b300a95500"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GET_BLOCK_SIZE&#160;&#160;&#160;3	/* Get erase block size (needed at <a class="el" href="ffconf_8h.html#a62cdce547af40f0c1599698ee151bbd7">_USE_MKFS</a> == 1) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00064">64</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>, and <a class="el" href="mmc__hal_8c_source.html#l00208">mmc_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a570216006f6a8fc4e1698b1bbb2d1dde"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GET_SECTOR_COUNT&#160;&#160;&#160;1	/* Get media size (needed at <a class="el" href="ffconf_8h.html#a62cdce547af40f0c1599698ee151bbd7">_USE_MKFS</a> == 1) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00062">62</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, and <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="ac73b5cf2135cbd459d109b96c9aa346a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GET_SECTOR_SIZE&#160;&#160;&#160;2	/* Get sector size (needed at <a class="el" href="ffconf_8h.html#ac271b697378912f17132cb9c7d0de024">_MAX_SS</a> != <a class="el" href="ffconf_8h.html#ad03aa6d0e294709ae15898ee2c14dc3a">_MIN_SS</a>) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00063">63</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, and <a class="el" href="ff_8c_source.html#l02998">find_volume()</a>.</p>

</div>
</div>
<a class="anchor" id="aa79f4043470c49016d80558773e740a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ISDIO_MRITE&#160;&#160;&#160;57	/* Masked <a class="el" href="posix_8h.html#a072435300ac99e8d7c3749f45166e797">write</a> data to SD iSDIO register */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00083">83</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="a9eb2d8ccc0b89299bc442396811f8723"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ISDIO_READ&#160;&#160;&#160;55	/* Read data form SD iSDIO register */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00081">81</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="a9637dcd58e0f1f301edf0cccff9e3507"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ISDIO_WRITE&#160;&#160;&#160;56	/* Write data to SD iSDIO register */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00082">82</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="a17ad303dd18b19a4c90ab30a8a1c14c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MMC_GET_CID&#160;&#160;&#160;52	/* Get CID */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00078">78</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="ae3b858b81287929f7c7bea3b7aec3087"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MMC_GET_CSD&#160;&#160;&#160;51	/* Get CSD */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00077">77</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="aff118ba6bd7a9fe7699cee049cff5d6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MMC_GET_OCR&#160;&#160;&#160;53	/* Get OCR */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00079">79</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="a5cc43c8449b872e16ea5ab42592f793e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MMC_GET_SDSTAT&#160;&#160;&#160;54	/* Get SD status */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00080">80</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="aba3a81a9a47c7d1bf3ac7749bc72dcfd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MMC_GET_TYPE&#160;&#160;&#160;50	/* Get card type */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00076">76</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>.</p>

</div>
</div>
<a class="anchor" id="aec625080763d6cf487e550a6c9a2dd19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STA_NODISK&#160;&#160;&#160;0x02	/* No medium in the drive */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00054">54</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="mmc_8c_source.html#l00340">mmc_disk_initialize()</a>, <a class="el" href="mmc_8c_source.html#l00708">mmc_disk_timerproc()</a>, and <a class="el" href="mmc__hal_8c_source.html#l00172">mmc_test_timeout()</a>.</p>

</div>
</div>
<a class="anchor" id="abd6503c70d862b979a3f7080a59e9acd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STA_NOINIT&#160;&#160;&#160;0x01	/* Drive not initialized */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00053">53</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="diskio_8c_source.html#l00054">disk_initialize()</a>, <a class="el" href="diskio_8c_source.html#l00031">disk_status()</a>, <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="ff_8c_source.html#l02998">find_volume()</a>, <a class="el" href="mmc_8c_source.html#l00340">mmc_disk_initialize()</a>, <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>, <a class="el" href="mmc_8c_source.html#l00708">mmc_disk_timerproc()</a>, <a class="el" href="mmc__hal_8c_source.html#l00172">mmc_test_timeout()</a>, and <a class="el" href="ff_8c_source.html#l03220">validate()</a>.</p>

</div>
</div>
<a class="anchor" id="a9ec6dc5f6620a33fabe388d3a111ca8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STA_PROTECT&#160;&#160;&#160;0x04	/* Write protected */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00055">55</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="ff_8c_source.html#l02998">find_volume()</a>, <a class="el" href="mmc_8c_source.html#l00433">mmc_disk_read()</a>, and <a class="el" href="mmc_8c_source.html#l00708">mmc_disk_timerproc()</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="adba6790898ce4029c20a34b898ce73c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> <a class="el" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00020">20</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="aacdfef1dad6565f65c26d12fe0ea4b2b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aacdfef1dad6565f65c26d12fe0ea4b2ba2ea4b6ef3fffc17dd1d38ab5c2837737"></a>RES_OK&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aacdfef1dad6565f65c26d12fe0ea4b2ba78011f5557679ec178fb40bd21e89840"></a>RES_ERROR&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aacdfef1dad6565f65c26d12fe0ea4b2ba442a6d4393dc404827067bc4e981b322"></a>RES_WRPRT&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aacdfef1dad6565f65c26d12fe0ea4b2baad64c27c69eb1ff39ae67c5f77bb2b1d"></a>RES_NOTRDY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aacdfef1dad6565f65c26d12fe0ea4b2baf4dcc07fd46310b5495fa8025c89a9f3"></a>RES_PARERR&#160;</td><td class="fielddoc">
</td></tr>
</table>

<p>Definition at line <a class="el" href="diskio_8h_source.html#l00023">23</a> of file <a class="el" href="diskio_8h_source.html">diskio.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a09cdaa6f36fa409bdf002727bff98eb1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a> disk_initialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&#160;</td>
          <td class="paramname"><em>pdrv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8c_source.html#l00054">54</a> of file <a class="el" href="diskio_8c_source.html">diskio.c</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="ff_8c_source.html#l02998">find_volume()</a>, and <a class="el" href="mmc__hal_8c_source.html#l00208">mmc_init()</a>.</p>

</div>
</div>
<a class="anchor" id="ab00fa450a811dbdabe3c655c1a36fab4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a> disk_ioctl </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&#160;</td>
          <td class="paramname"><em>pdrv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8c_source.html#l00131">131</a> of file <a class="el" href="diskio_8c_source.html">diskio.c</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="ff_8c_source.html#l02998">find_volume()</a>, <a class="el" href="mmc__hal_8c_source.html#l00208">mmc_init()</a>, <a class="el" href="ff_8c_source.html#l01256">remove_chain()</a>, and <a class="el" href="ff_8c_source.html#l00946">sync_fs()</a>.</p>

</div>
</div>
<a class="anchor" id="a075d27f59f550e2cee07d00abcff32e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a> disk_read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&#160;</td>
          <td class="paramname"><em>pdrv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> *&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>&#160;</td>
          <td class="paramname"><em>sector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8c_source.html#l00077">77</a> of file <a class="el" href="diskio_8c_source.html">diskio.c</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05133">f_expand()</a>, <a class="el" href="ff_8c_source.html#l04000">f_lseek()</a>, <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="ff_8c_source.html#l03304">f_open()</a>, <a class="el" href="ff_8c_source.html#l03506">f_read()</a>, <a class="el" href="ff_8c_source.html#l03607">f_write()</a>, and <a class="el" href="ff_8c_source.html#l00913">move_window()</a>.</p>

</div>
</div>
<a class="anchor" id="a8348ac5ee6d709420c02e45c111f4793"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a> disk_status </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&#160;</td>
          <td class="paramname"><em>pdrv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8c_source.html#l00031">31</a> of file <a class="el" href="diskio_8c_source.html">diskio.c</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l02998">find_volume()</a>, and <a class="el" href="ff_8c_source.html#l03220">validate()</a>.</p>

</div>
</div>
<a class="anchor" id="a045f8898a243c16aca4e64e069c49c03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void disk_timerproc </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8c_source.html#l00157">157</a> of file <a class="el" href="diskio_8c_source.html">diskio.c</a>.</p>

</div>
</div>
<a class="anchor" id="a0fe56ee4831a44b09cfd96856e069634"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a> disk_write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&#160;</td>
          <td class="paramname"><em>pdrv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> *&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>&#160;</td>
          <td class="paramname"><em>sector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="diskio_8c_source.html#l00104">104</a> of file <a class="el" href="diskio_8c_source.html">diskio.c</a>.</p>

<p>Referenced by <a class="el" href="ff_8c_source.html#l05133">f_expand()</a>, <a class="el" href="ff_8c_source.html#l04000">f_lseek()</a>, <a class="el" href="ff_8c_source.html#l05296">f_mkfs()</a>, <a class="el" href="ff_8c_source.html#l03506">f_read()</a>, <a class="el" href="ff_8c_source.html#l03729">f_sync()</a>, <a class="el" href="ff_8c_source.html#l04475">f_truncate()</a>, <a class="el" href="ff_8c_source.html#l03607">f_write()</a>, <a class="el" href="ff_8c_source.html#l00946">sync_fs()</a>, and <a class="el" href="ff_8c_source.html#l00883">sync_window()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
